package net.wofly.right.shiro;

import lombok.Data;
import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * Desc:
 * Created by LiuJianbo on 2017/11/6.
 */
@Data
public class MyUsernamePasswordToken extends UsernamePasswordToken {

    private LoginType loginType;

    public MyUsernamePasswordToken(String username, String password, LoginType loginType) {
        super(username, password);
        this.loginType = loginType;
    }
}
